package com.macro.mall.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 生成订单时传入的参数
 * Created by macro on 2018/8/30.
 */
@Data
public class OrderParam {
    private Long id;

    private Long orderId;
    
    private Long productId;

    private Long memberId;

    @ApiModelProperty(value = "购买数量")
    private Integer quantity;

    @ApiModelProperty(value = "价格")
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "运费")
    private BigDecimal freightAmount;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "修改时间")
    private Date modifyDate;

    @ApiModelProperty(value = "订单状态")
    private Integer status;

    @ApiModelProperty(value = "支付方式")
    private Integer payType;

    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;

    @ApiModelProperty(value = "收货人电话")
    private String receiverPhone;

    @ApiModelProperty(value = "详细地址")
    private String receiverDetailAddress;

//    @ApiModelProperty(value = "销售属性1")
//    private String sp1;
//    @ApiModelProperty(value = "销售属性2")
//    private String sp2;
//    @ApiModelProperty(value = "销售属性3")
//    private String sp3;
//    @ApiModelProperty(value = "商品主图")
//    private String productPic;
//
//    @ApiModelProperty(value = "商品名称")
//    private String productName;
//
//    @ApiModelProperty(value = "商品副标题（卖点）")
//    private String productSubTitle;
//
//    @ApiModelProperty(value = "商品sku条码")
//    private String productSkuCode;
//
//    @ApiModelProperty(value = "会员昵称")
//    private String memberNickname;

//    @ApiModelProperty(value = "是否删除")
//    private Integer deleteStatus;

//    @ApiModelProperty(value = "商品分类")
//    private Long productCategoryId;

    //收货地址id
//    private Long memberReceiveAddressId;
    //优惠券id
    private Long couponId;
    //    //使用的积分数
//    private Integer useIntegration;
}
